home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #include <vcl\vcl.h>
- #pragma hdrstop
-
- /*
- This example requires the DCU or Source versions of the Shell Control Pack.
- It will not do translations of the evaluation version.
- */
-
- #include "FMain.h"
- //---------------------------------------------------------------------------
- #pragma link "FPTOpenDlg"
- #pragma link "FPTFolderBrowseDlg"
- #pragma link "UPTFrame"
- #pragma resource "*.dfm"
- TFrmMain *FrmMain;
- //---------------------------------------------------------------------------
- //#define LANG_FR // Uncomment this line to test the french translation
- //#define LANG_ES // Uncomment this line to test the spanish translation etc.
- #include "PTShConsts.h" // !! You need to include this file in ONE of your project's .cpp files.
- //---------------------------------------------------------------------------
- __fastcall TFrmMain::TFrmMain(TComponent* Owner)
- : TForm(Owner)
- {
- }
- //---------------------------------------------------------------------------
- void __fastcall TFrmMain::Exit1Click(TObject *Sender)
- {
- Close();
- }
- //---------------------------------------------------------------------------
- void __fastcall TFrmMain::Opendialog1Click(TObject *Sender)
- {
- PTOpenDlg1->Execute();
- }
- //---------------------------------------------------------------------------
- void __fastcall TFrmMain::Savedialog1Click(TObject *Sender)
- {
- PTSaveDlg1->Execute();
- }
- //---------------------------------------------------------------------------
- void __fastcall TFrmMain::Folderbrowsedialog1Click(TObject *Sender)
- {
- PTFolderBrowseDlg1->Execute();
- }
- //---------------------------------------------------------------------------
-
-